package org.budo.weixin.qiye;

/**
 * 微信SAAS第三方回调协议数据返回bean
 * see http://qydev.weixin.qq.com/wiki/index.php?title=%E7%AC%AC%E4%B8%89%E6%96%B9%E5%9B%9E%E8%B0%83%E5%8D%8F%E8%AE%AE
 */
public class WeixinSaasCallBackInfo {

    public static final String SUITE_TICKET = "suite_ticket";

    public static final String CHANGE_AUTH = "change_auth";

    public static final String CANCEL_AUTH = "cancel_auth";

    public static final String CREATE_AUTH = "create_auth";

    public static final String CONTACT_SYNC = "contact_sync";

    private String suiteId;

    private String infoType;

    private Long timeStamp; //时间戳

    private String suiteTicket; //Ticket内容

    private String authCode; //授权的auth_code,用于获取企业的永久授权码

    private String authCorpId;//授权方企业号的corpid

    private Integer seq;//	当前序号

    public String getSuiteId() {
        return suiteId;
    }

    public void setSuiteId(String suiteId) {
        this.suiteId = suiteId;
    }

    public Long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(Long timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getInfoType() {
        return infoType;
    }

    public void setInfoType(String infoType) {
        this.infoType = infoType;
    }

    public WeixinSaasCallBackInfo() {}

    public WeixinSaasCallBackInfo(String suiteId, Long timeStamp, String infoType) {
        this.suiteId = suiteId;
        this.timeStamp = timeStamp;
        this.infoType = infoType;
    }

    public String getSuiteTicket() {
        return suiteTicket;
    }

    public void setSuiteTicket(String suiteTicket) {
        this.suiteTicket = suiteTicket;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    public String getAuthCorpId() {
        return authCorpId;
    }

    public void setAuthCorpId(String authCorpId) {
        this.authCorpId = authCorpId;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

}
